x86/mm: PV GDT handling cleanup
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 21 May 2015 06:56:24 +0000 (08:56 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 21 May 2015 06:56:24 +0000 (08:56 +0200)
commitcb1daee1b505aafe9f6fd79a5e5b789be4674c1d
tree8af9d8aea1e8de7509185390333e5eaab6e91dcc
parent931f5777c710823c44c1d35e94991b65f4b6d078
x86/mm: PV GDT handling cleanup

These are a few bits of cleanup noticed when double checking the PV GDT
handling for migration v2.

 * Drop write-only 'mfn' variable in set_gdt()
 * Hoist page_get_owner() call in alloc_segdesc_page() and unify exit paths

No functional change.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/mm.c